<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ctlRptReporteAltasSocio.ascx.vb" Inherits="Reportes_Controls_ctlRptReporteAltasSocio" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1.Export, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.XtraReports.v10.1.Web, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.XtraReports.Web" TagPrefix="dx" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table style="width: 100%;height: 100%">
            <tr>
                <td style="width: 1332px" >
                    <table class="xFormView" style="width: 450px">
                        <tr>
                            <td class="formviewsubheader" colspan="3">
                                <asp:Literal ID="Literal1" runat="server" Text="Parametros de Busqueda"></asp:Literal></td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 22px">
                            </td>
                            <td align="left" colspan="2" style="height: 22px">
                                <dx:ASPxTextBox ID="txtRange" runat="server" ClientVisible="False" CssFilePath="~/App_Themes/Youthful/{0}/styles.css"
                                    CssPostfix="Youthful" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css"
                                    Text="1" Visible="False" Width="170px">
                                    <ValidationSettings>
                                        <ErrorFrameStyle ImageSpacing="4px">
                                            <ErrorTextPaddings PaddingLeft="4px" />
                                        </ErrorFrameStyle>
                                    </ValidationSettings>
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 22px;">
                                <asp:Literal ID="Literal12" runat="server" Text="Incluir Rango de fechas:"></asp:Literal></td>
                            <td align="left" style="height: 22px;" colspan="2">
                                <asp:CheckBox ID="chkIncludeDateRange" runat="server" OnCheckedChanged="chkIncludeDateRange_CheckedChanged" AutoPostBack="True" /></td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 20px;">
                                <asp:Literal ID="Literal13" runat="server" Text="Fecha de Inicial:"></asp:Literal></td>
                            <td align="left" style="height: 20px;" colspan="2">
                                &nbsp;
                                <dx:ASPxDateEdit ID="txtStartDate" runat="server" AutoPostBack="True" CssFilePath="~/App_Themes/Youthful/{0}/styles.css" CssPostfix="Youthful" ShowShadow="False" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                    <ValidationSettings>
                                        <ErrorFrameStyle ImageSpacing="4px">
                                            <ErrorTextPaddings PaddingLeft="4px" />
                                        </ErrorFrameStyle>
                                    </ValidationSettings>
                                    <CalendarProperties>
                                        <HeaderStyle Spacing="8px" />
                                        <FooterStyle Spacing="3px" />
                                    </CalendarProperties>
                                </dx:ASPxDateEdit>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 17px;">
                                <asp:Literal ID="Literal14" runat="server" Text="Fecha de Final:"></asp:Literal></td>
                            <td align="left" style="height: 17px;" colspan="2">
                                &nbsp;
                                <dx:ASPxDateEdit ID="txtEndDate" runat="server" AutoPostBack="True" CssFilePath="~/App_Themes/Youthful/{0}/styles.css" CssPostfix="Youthful" ShowShadow="False" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                    <ValidationSettings>
                                        <ErrorFrameStyle ImageSpacing="4px">
                                            <ErrorTextPaddings PaddingLeft="4px" />
                                        </ErrorFrameStyle>
                                    </ValidationSettings>
                                    <CalendarProperties>
                                        <HeaderStyle Spacing="8px" />
                                        <FooterStyle Spacing="3px" />
                                    </CalendarProperties>
                                </dx:ASPxDateEdit>
                                </td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 17px">
                            </td>
                            <td align="left" style="height: 17px" colspan="2">
                                &nbsp; &nbsp;&nbsp;
                                <dx:ASPxLabel ID="lblMensaje" runat="server" ClientVisible="False" ForeColor="#CC0000"
                                    Visible="False" Width="200px">
                                </dx:ASPxLabel>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="formviewlabelcell" style="width: 40%; height: 17px">
                            </td>
                            <td align="left" colspan="2" style="height: 17px">
                                <dx:ASPxButton ID="btnRefrescar" runat="server" CssFilePath="~/App_Themes/Youthful/{0}/styles.css"
                                    CssPostfix="Youthful" OnClick="btnRefrescar_Click" SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css"
                                    Text="Mostrar">
                                    <Image Url="~/Images/icons/page_refresh.png">
                                    </Image>
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
                        Height="400px" Width="400px">
                        <LocalReport ReportPath="App_Code\Reportes\Report.rdlc">
                            <DataSources>
                                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="ClubReportes_sp_ReporteAltas" />
                            </DataSources>
                        </LocalReport>
                    </rsweb:ReportViewer>
                    &nbsp;
                    
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
